package com.asset.dispoal.defaultDepartment.api;

import com.asset.dispoal.defaultDepartment.dto.GbDefaultDepartmentRequest;
import com.asset.dispoal.defaultDepartment.dto.GbDefaultDepartmentResponse;
import tech.mhuang.pacebox.springboot.protocol.Result;

import java.util.List;

/**
 * 默认部门服务接口
 *
 * @author: mhuang
 * @date: 2022-03-18 10:42:26
 */
public interface IGbDefaultDepartmentService {

    Result insert(GbDefaultDepartmentRequest request);


    Result upadte(GbDefaultDepartmentRequest request);


    Result delete(String id);


    Result<List<GbDefaultDepartmentResponse>> queryDefaultDepTree(String companyType);
}